# AppArmor profile for XPNTL Solo (installed to /etc/apparmor.d/xpntl-solo by the .deb's postinst).
# Ubuntu 23.10+ blocks unprivileged user namespaces by default; Electron's (Chromium's) sandbox needs one. This profile grants
# exactly that to this one program, the same way Ubuntu's own profiles for Chrome and VS Code do. It confines nothing else
# (unconfined + userns). The sandbox is never switched off instead.
abi <abi/4.0>,
include <tunables/global>

profile xpntl-solo "/opt/XPNTL Solo/xpntl-solo" flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/xpntl-solo>
}
